package cl.sirvicod.comunicacion.objetos
{
	[RemoteClass(alias="cl.foursoft.sirvicod.dao.transferObject.PersonaTO")]
	public class PersonaTO
	{
		[Bindable]
		private var _rut:String;
		[Bindable]
		private var _nombre:String;
		private var _email:String;
		private var _telefono:String;
		
		
		public function PersonaTO()
		{
			this._nombre = "";
			this._rut = "";
			this._email = "";
			this._telefono = "";
		}
		
		[Bindable]
		public function get nombre():String
		{
			return _nombre;
		}

		public function set nombre(value:String):void
		{
			_nombre = value;
		}

		[Bindable]
		public function get rut():String
		{
			return _rut;
		}

		public function set rut(value:String):void
		{
			_rut = value;
		}

		[Bindable]
		public function get email():String
		{
			return _email;
		}

		public function set email(value:String):void
		{
			_email = value;
		}

		[Bindable]
		public function get telefono():String
		{
			return _telefono;
		}

		public function set telefono(value:String):void
		{
			_telefono = value;
		}
		
		
		public function toString():String{
			if(this._nombre)
				return this._nombre;
			return "";
		}

	}
}